<template>
    <div class="encrypted-email-wrapper">
        <img class="permissions-img" :src="permissionsPng" alt=""/>
        <p class="main-desc">{{$lang.encryptedEmailMainTip}}</p>
        <p class="sub-desc">（{{$lang.encryptedEmailSubTip}}）</p>
        <span class="goto-mail-detail-btn" @click="gotoMailDetail()">{{$lang.checkEmail}}</span>
    </div>
</template>
<script>
export default {
    props:["webLink"],
    data(){
        return {
            permissionsPng:require('@/assets/icon/permissions.png')
        }
    },
    methods:{
        gotoMailDetail(){
            window.qing.call("gotoLightApp", {
                urlParam: this.webLink
            });
        }
    }
}
</script>
<style lang="less" scoped>
.encrypted-email-wrapper{
    text-align: center;
    font-size: 12px;
    font-family: PingFangSC, PingFangSC-Regular;
    .permissions-img{
        width: 140px;
        height: 140px;
        margin-top: 20px;
    }
    .main-desc{
        color: #646566;
        margin-top: 8px;
    }
    .sub-desc{
        color: #969799;
        margin-top: 4px;
    }
    .goto-mail-detail-btn{
        display: flex;
        width: 160px;
        height: 40px;
        align-items: center;
        justify-content: center;
        border: 1px solid #00c00e;
        border-radius: 5px;
        margin-left: 50%;
        transform: translateX(-50%);
        color: #00c00e;
        font-size: 16px;
        margin-top: 36px;
    }
}

</style>